package com.ssy.lingxi.member.merchant.model.vo.lifecycle.request;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 会员考评打分VO
 * @author yzc
 * @version 2.0.0
 * @date 2021/5/17
 */
public class MemberAppraisalGradeVO implements Serializable {
    private static final long serialVersionUID = 1830941838746529993L;

    /**
     * 主键id
     */
    @NotNull(message = "主键id不能为空")
    private Long id;

    /**
     * 考评项目
     */
    @Valid
    private List<MemberAppraisalItemGradeVO> items;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public List<MemberAppraisalItemGradeVO> getItems() {
        return items;
    }

    public void setItems(List<MemberAppraisalItemGradeVO> items) {
        this.items = items;
    }
}
